home *** CD-ROM | disk | FTP | other *** search
/ Champak 146 / (Vol 146) Jan 07 2012.iso / Games / super_fly.swf / scripts / frame_58 / DoAction.as < prev   
Text File  |  2012-01-07  |  799b  |  43 lines

  1. flyNum = flyEnter;
  2. if(flyEnter < "10")
  3. {
  4.    if(getTimer() >= bTime + "5000")
  5.    {
  6.       while(flyNum + "2" >= flyEnter)
  7.       {
  8.          tellTarget("/flyin" add flyEnter)
  9.          {
  10.             gotoAndPlay(2);
  11.          }
  12.          flyEnter += "1";
  13.       }
  14.       bTime = getTimer();
  15.    }
  16.    if(flyEnter == "1")
  17.    {
  18.       if(getTimer() >= bTime + "100")
  19.       {
  20.          while(flyNum + "3" >= flyEnter)
  21.          {
  22.             tellTarget("/flyin" add flyEnter)
  23.             {
  24.                gotoAndPlay(2);
  25.             }
  26.             flyEnter += "1";
  27.          }
  28.          bTime = getTimer();
  29.       }
  30.    }
  31. }
  32. if("0" < frTime)
  33. {
  34.    if(getTimer() >= frTime + "10000")
  35.    {
  36.       tellTarget("/frog")
  37.       {
  38.          gotoAndPlay(2);
  39.       }
  40.       frTime = "0";
  41.    }
  42. }
  43.